<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Clothes Galore - Get Item</title>
	<link rel=stylesheet type="text/css" href="css/style.css">
</head>

<body bottommargin="0" leftmargin="0" marginheiht="0" marginwidth="0" rightmargin="0" topmargin="0" background="background.jpg" text="#FFFFFF">

<table width="100%" cellpadding="0" cellspacing="0" border="0" height="22">
	<tr valign="top">
		<td width="100%" background="top_bg1.jpg"><img src="top_bg1.jpg" width="21" height="22" border="0" alt=""></td>
		<td width="319"><img src="top_right1.jpg" width="319" height="22" border="0" alt=""></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" height="184">
	<tr valign="top">
		<td width="100%" background="top_bg2.jpg"><img src="templogo.png" width="277" height="117" border="0" alt=""></td>
		<td width="184"><img src="top_right2.jpg" width="184" height="184" border="0" alt=""></td>
	</tr>
</table>

<table width="100%" cellpadding="0" cellspacing="0" border="0" height="100%">
	<tr valign="top">
		<Td width="5">&nbsp;</td>

		<td width="160">
		 <jsp:include page="menu.jsp"/>	
<BR>
			
		</td>


		<Td width="10">&nbsp;&nbsp;&nbsp;&nbsp;</td>
		
				
		<td width="100%">
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr valign="top">
					<td width="100%">
<!-----------page content goes below-------------------------------------------------->
  <h2>All Items: </h2>


<a href = "logout.do"> <image style ="position:absolute; TOP:240px; LEFT:1000px "src = "images/button-logout.png" alt = "logout button" width="80" height="20"> </a>

  <br>   

  <div id = "content1">
<%
String[] ui=(String[])request.getAttribute("ui");
String[] uititles=(String[])request.getAttribute("uititles");
String[] ai=(String[])request.getAttribute("ai");
String[] aititles=(String[])request.getAttribute("aititles");
 %>
        <h3>The unsold items:</h3>
        <table>
        <%for(int i=0;i<ui.length;i++){ %>
        <tr>
        <td>
        <%=uititles[i]%>
        </td>
        <td>
        <form method="post" action="RelistItem-2.do">
        <input type="hidden" name="itemid" value="<%=ui[i] %>"/>
        <input type="submit" value="Relist"/>
        </form>
        </td>
        </tr>
        <%} %>
        </table>
        
        
        <h3>The active items:</h3>
        <table>
        <%for(int i=0;i<ai.length;i++){ %>
        <tr>
        <td>
        <%=aititles[i]%>
        </td>
        <td>
        <form method="post" action="ReviseItem-2.do">
        <input type="hidden" name="itemid" value="<%=ai[i] %>"/>
        <input type="submit" value="Revise"/>
        </form>
        </td>
        <form method="post" action="EndItem-2.do">
        <td>
        <select name ="endreason" id="endreason" size="1" >
 			<option >Lost or Found</option> 
 			<option >Not Available</option>
			<option >Other</option>
 		</select>
 		</td>
 		<td>  
        <input type="hidden" name="itemid_end" value="<%=ai[i] %>"/>
        <input type="submit" value="EndItem"/>
        </td>
        </form>
        
        </tr>
        <%} %>
        </table>

  </div>


  <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<center> &copy; Copyright Pherenike Consultants 2011, All Rights Reserved.</center>
<center> This template was sourced from Steves-Templates.com </center>




					</td>
				</tr>
			</table>
		</td>

		<Td width="5">&nbsp;</td>
				
		<td width="77" background="rightbg.jpg" height="100%"><img src="rightbg.jpg" width="77" height="22" border="0" alt=""></td>
	</tr>
</table>


</body>
</html>





